from sqlalchemy import create_engine
from config import DatabaseConfig
from models.base import Base
from models import schedule, user  # 确保模型被导入

engine = create_engine(DatabaseConfig.get_test_mysql_uri(), echo=True)
Base.metadata.create_all(engine)